package org.apcs.pokemon.pokemon;

/**
 * Author:			Zachary Reed
 * Date Created:	Mar 27, 2010
 * Last Modified:	Mar 28, 2010
 * Package:			org.apcs.pokemon.pokemon
 * Filename:		Charmander.java
 * Description:		A class that defines the default stats for Charmander &
 * 					constructs new Charmander pokemon.
 */

/** Charmander
 * Number:			004							Base HP:  39	HP Yield:   0
 * M/F Ratio:		87.5% male					Base AT:  52	AT Yield:   0
 * Type(s):			Fire						Base DE:  43	DE Yield:   0
 * Exp @ lvl 100:	1,059,860					Base SA:  60	SA Yield:   0
 * Evolves @ lvl:	16							Base SD:  50	SD Yield:   0
 * Evolves into:	Charmeleon					Base SP:  65	SP Yield:   1
 * Base moves:		Scratch,Growl								XP Yield:  65
 */

public class Charmander extends Pokemon {

	protected static final int NUMBER			=	4;
	protected static final String NAME			=	"Charmander";
	protected static final double MFRATIO		=	87.5;
	protected static final int[] TYPES			=	{1,1};
	protected static final int[] STATS			=	{39,52,43,60,50,65};
	protected static final int[] EVYIELDS		=	{0,0,0,0,0,1,65};
	protected static final int EXPTYPE			=	3;
	protected static final int EVOLVES_AT_LVL	=	16;
	protected static final int EVOLVES_INTO		=	5;
	protected static final int[] BASE_MOVES		=	{10,45};

    protected static final int[][] LEVEL_UP_MOVES   =   {{7,52},{10,108},{16,82},{19,184},{25,424},{28,163},{34,53},{37,83}};
    protected static final int[] TMHM_MOVES         =   {264,337,92,237,241,182,218,231,216,91,280,104,53,126,317,332,263,290,156,213,315,374,203,261,421,14,446,157,214,363,207,164,15,70,249};

	/* Create new Charmander with default name */
	public Charmander(int trainerID) {
		super(NUMBER,NAME,false,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}

	/* Create new Charmander with nickname */
	public Charmander(String name,int trainerID) {
		super(NUMBER,name,true,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}

	/* Create new Charmander with default name & custom level*/
	public Charmander(int level,int trainerID) {
		super(NUMBER,NAME,false,level,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}

	/* Create new Charmander with nickname & custom level */
	public Charmander(String name,int level,int trainerID) {
		super(NUMBER,name,true,level,Pokemon.calcGender(MFRATIO),TYPES,
			STATS,EVYIELDS,EXPTYPE,EVOLVES_AT_LVL,EVOLVES_INTO,
			trainerID,BASE_MOVES,LEVEL_UP_MOVES,TMHM_MOVES);
	}
}